﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TinyForum.Web.Proxies.ServiceReference;

namespace TinyForum.Web.Extensions
{
    /// <summary>
    /// Represents the Site object.
    /// </summary>
    public class Site
    {
        /// <summary>
        /// Gets the settings for the site.
        /// </summary>
        public static SettingDataObject Settings
        {
            get
            {
                using (SiteApplicationClient siteApplication = new SiteApplicationClient())
                {
                    return siteApplication.GetSiteSettings();
                }
            }
        }
    }
}
